Click2pay_Payments\Gateways\Credit_Card A

Total Complexity 70
Dependencies 5
Dependents 1
Total lines 678
Lines of code 474
Logical lines of code 177
Comment lines 80
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
process_payment()
B
35 21 75
init_form_fields()
A
30 1 161
thankyou_page()
S
52 6 24
adjust_card_fees_display()
S
57 6 16
get_available_installments()
S
49 5 30
form()
S
55 5 17
is_available()
S
76 6 3
__construct()
S
46 2 35
inline_style()
S
61 2 20
remove_credit_card_fee()
S
65 3 9
save_card_token()
S
59 2 15
wp_enqueue_scripts()
S
52 1 29
process_refund()
S
61 2 11
maybe_make_birthdate_required()
S
70 2 6
should_save_credit_card()
S
77 2 3
calculate_installment_with_fee()
S
73 1 4
payment_fields()
S
77 1 4
notification_handler()
S
82 1 3
add_brazilian_fields()
S
64 1 9